package com.lytoyo.neihanduanzi.model.blog;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lytoyo.neihanduanzi.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * Package:com.lytoyo.neihanduanzi.model.blog
 *
 * @ClassName:blogInfo
 * @Create:2025/3/3 11:48
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("blog_info")
public class BlogInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableField("user_id")
    private Long userId;

    @TableField("title")
    private String title;

    @TableField("file_name")
    private String fileName;

    @TableField("blog_type")
    private Integer blogType;

    @TableField("liked")
    private Long liked;

    @TableField("time_of_play")
    private Long timeOfPlay;

    @TableField("comment")
    private Long comment;

    @TableField("collect")
    private Long collect;

    @TableField("picture")
    private String picture;
}
